﻿using System.Linq.Expressions;

namespace ProjectScheduling_web.model
{
    public class SearchQuery<T>
    {
        public Expression<Func<T, bool>>? Query { get; set; }
        public Expression<Func<T, object>>? OrderBy { get; set; }
        public bool IsDesc { get; set; } = false;

    }
    public class SearchQueryIncludes<T, T1> : SearchQuery<T>
    {
        public Expression<Func<T, T1>>? Includes { get; set; }
    }
}
